//-----------------------------------------------------------------------
// <copyright file="Role.cs" company="Simnova LLC">
//     Copyright (c) Simnova LLC. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------

namespace Simnova.Collaborate.ServiceContract.DataClasses
{
    using System;
    using System.Runtime.Serialization;

    [DataContract]
    public class Role
    {
        [DataMember(Name = "RoleId")]
        private int roleId;
        private int companyId;
        private string name;

        public int RoleId
        {
            get { return this.roleId; }
        }

        [DataMember]
        public int CompanyId
        {
            get { return this.companyId; }
            set { this.companyId = value; }
        }

        [DataMember]
        public string Name
        {
            get { return this.name; }
            set { this.name = value; }
        }
    }
}
